<template>
	<view>
		<view class="wen" >
			<image :src="list.coverImg" mode=""></image> <br>
			<text>{{list.content2}}</text>
		</view>
	</view>
</template>

<script>
	import { aritlceList, detail} from "../../../util/find/index.js"
	export default {
		data() {
			return {
				id:'',
				list:{}
			};
		},
		
		
		onLoad(option){
			const val = JSON.parse(decodeURIComponent(option.id));
			console.log(val)
			
			this.id= val.id
			// console.log(val.id)
			
			detail({
				id:val.id
			}).then(res=>{
				console.log(res)
				this.list= res.data.data
				
			})
			
			
			
		}
	}
</script>

<style lang="scss">

</style>
